package com.tlgen.springdata;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

public class PersonRepositoryImpl {

	@PersistenceContext
	private EntityManager entityManager;
	
	public void test() {
		
		Person person = entityManager.find(Person.class, 1);
		System.out.println("=>" + person);
	}
}
